package net.wzw;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


/**
 * Hello world!
 *
 */

@MapperScan(basePackages = {"net.wzw.mapper.db_user"},sqlSessionFactoryRef ="sqlSessionFactoryUser" )
@MapperScan(basePackages = {"net.wzw.mapper.db_counter"},sqlSessionFactoryRef ="sqlSessionFactoryCounter" )
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class SocialApplication
{
    public static void main( String[] args )
    {

        System.out.println( "Hello Social!" );
        SpringApplication.run(SocialApplication.class);
    }
}
